projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8023777
)
(XTread_socket): Add X_IO_BUG conditional.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 2 Feb 1994 23:47:57 +0000
(23:47 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 2 Feb 1994 23:47:57 +0000
(23:47 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 7f0419e6f6167c3ca207968dd440baa6975cae00..4fef2abc72e509327275df20517da71947d42970 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-3618,6
+3618,13
@@
XTread_socket (sd, bufp, numchars, waitp, expected)
}
}
+#ifdef X_IO_BUG
+ if (! event_found)
+ /* On some systems, an X bug causes Emacs to get no more events
+ when the window is destroyed. Detect that. */
+ XNoOp (x_current_display);
+#endif /* X_IO_BUG */
+
#ifdef HAVE_SELECT
if (expected && ! event_found)
{